package com.yunxi.order.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value="批售单管理", description="")
public class OrderOemVO implements Serializable {
    @ApiModelProperty(value = "批售单号")
    private String orderId;
    @ApiModelProperty(value = "订单状态")
    private String orderStatus;
    @ApiModelProperty(value = "车系名称")
    private String seriesName;
    @ApiModelProperty(value = "车型名称")
    private String catalogName;
    @ApiModelProperty(value = "内饰颜色")
    private String colorNameIn;
    @ApiModelProperty(value = "外饰颜色")
    private String colorNameOut;
    @ApiModelProperty(value = "数量")
    private String num;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "创建时间")
    private String createDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "开始日期")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "结束日期")
    private Date endDate;

    private String vipOrderId;
}
